package com.atguigu.cloud.controller;

import com.atguigu.cloud.resp.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("pay")
@Slf4j
@Tag(name = "支付微服务模块", description = "支付CRUD")
public class PayController {

    @GetMapping("add")
    @Operation(summary = "新增", description = "新增支付流水")
    public ResultData<String> addPay() {
        log.info("recive add pay request: 【{}】");
        return ResultData.success("插入成功");
    }
}
